export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  span:24,
  labelWidth: 120,
  column: [
    {
      label: "分配中心",
      prop: "dept",
      // type: 'textarea',
      type: 'select',
      // dicUrl: `/blade-trial/trial/deptOfTrial?trial=1907713605665488898`,
      dicData: [],
      props: {
        label: 'deptName',
        value: 'id',
      },
      // minRows: 3,
      // maxRows: 5,
      // disabled:true,
    },
    {
      label: "各分组添加容量",
      prop: "TJRL",
      type: 'number',
      min: 0,
      // max: 2,
    },
    {
      label: "",
      prop: "groupList",
      type: 'input',
      labelWidth:0,
    },
    // {
    //   label: "研究组",
    //   prop: "YJZ",
    //   type: 'number',
    //   min: 0,
    //   control: (val, form) => {
    //     form.SZTJ = Number(form.YJZ) + Number(form.CSZ)
    //   }
    // },
    // {
    //   label: "测试组",
    //   prop: "CSZ",
    //   type: 'number',
    //   min: 0,
    //   control: (val, form) => {
    //     form.SZTJ = Number(form.YJZ) + Number(form.CSZ)
    //   }
    // },
    {
      label: "各分组共计",
      prop: "SZTJ",
      type: 'input',
      min: 0,
      disabled: true,
    },
  ]
}